# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xprop
pkgver=1.2.4
pkgrel=0
pkgdesc="Property displayer for X"
url="https://cgit.freedesktop.org/xorg/app/xprop"
arch="all"
license="MIT"
makedepends="libx11-dev util-macros"
subpackages="$pkgname-doc"
source="https://www.x.org/archive/individual/app/xprop-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="6e770cb89ba87ae057858cc9f0f5498979e78c3ef66ce86361b7c646cc0b70c41a18d76e55ed7225fe715b22b62bc07c56272519a2631b92832e9403ce260da7  xprop-1.2.4.tar.bz2"
